auto merge of #563 : mbrubeck/cargo/list-files-git, r=alexcrichton
authorbors <bors@rust-lang.org>
Sat, 13 Sep 2014 02:43:50 +0000 (02:43 +0000)
committerbors <bors@rust-lang.org>
Sat, 13 Sep 2014 02:43:50 +0000 (02:43 +0000)
commit287abd87d2251d7564016aeea6c82c9a6de74c27
tree621a23554d2916176c542dc5653a8d220a757cf7
parent8fa7375e9f2383f738b73d0d1f52501e58e53188
parentb4adda4d153ba5c876cbb02c79bfa3651edf80db
auto merge of #563 : mbrubeck/cargo/list-files-git, r=alexcrichton

`list_files_git` assumes that the package is at the root of the git repository. This breaks when trying to list files for a package in a subdirectory of a repo, or in other cases, e.g. if the user's home directory is a git repo.
tests/test_cargo_compile_git_deps.rs